package com.pig4cloud.pig.propertyroom.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.pig4cloud.pig.propertyroom.dto.PropertyRoomDto;
import com.pig4cloud.pig.propertyroom.vo.PropertyRoomVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RoomVoMapper extends BaseMapper<PropertyRoomVo> {
	Page<PropertyRoomVo> wrapperPage(@Param("page") Page page, @Param("propertyRoomDto") PropertyRoomDto propertyRoomDto);

	PropertyRoomVo getByRoomId(Long roomId);
}
